package huhx.linux.com.kotlinlearn.common

/**
 * Created by huhx on 2018-03-17 下午 4:56.
 */

class WatchTimes {
    private val beforeTime: Long

    init {
        beforeTime = System.currentTimeMillis()
    }

    fun processDuring(): Long {
        return System.currentTimeMillis() - beforeTime
    }
}
